From: Jim Blandy Date: Thu, 25 Mar 1993 01:15:34 +0000 (+0000) Subject: * config.h.in (HAVE_XFREE386): New flag, set by configure script. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~96714 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=723d4d15ae2774f7a95a9dcc727c8a521fe18f75;p=emacs.git * config.h.in (HAVE_XFREE386): New flag, set by configure script. If it's set, #define LIBX11_SYSTEM and HAVE_RANDOM as appropriate for XFree386. * sysdep.c (random, srandom): Don't define these if HAVE_RANDOM is #defined. --- diff --git a/src/config.in b/src/config.in index ea4702ea279..a2f6ced8ced 100644 --- a/src/config.in +++ b/src/config.in @@ -197,6 +197,15 @@ and this notice must be preserved on all copies. */ #define volatile #endif +/* Define this if you're using XFree386. joe@zircon.uucp says that in + order to use XFree386, you have to link against -lXbsd, which + insists on defining the random function. */ +/* #define HAVE_XFREE386 */ +#ifdef HAVE_XFREE386 +#define LIBX11_SYSTEM -lXbsd +#define HAVE_RANDOM +#endif + #ifndef THIS_IS_YMAKEFILE /* Some of the files of Emacs which are intended for use with other programs assume that if you have a config.h file, you must declare